home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / sysadmin.508 < prev    next >
Text File  |  1992-02-06  |  3KB  |  95 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f1\fmodern Courier;\f2\fmodern Ohlfs;}
  2. \paperw11440
  3. \paperh4680
  4. \margl120
  5. \margr700
  6. {\colortbl\red0\green0\blue0;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs28 uucp uucico crashing\
  8. \
  9. Q: 
  10. \f1\fs24 uucico
  11. \f0\fs28  is being uncooperative.  Specifically, if someone polls my machine, my machine hangs up the phone (the other side typically sees this after the second\
  12. \
  13.  
  14. \f1\fs24\li700 imsg looking for SYNC<\
  15.  
  16. \f0\fs28\li0 \
  17. message in the debug output).  When I poll that same machine, 
  18. \f1\fs24 uucico
  19. \f0\fs28  gives me a core dump, after a segmentation fault.  What's stranger still is that polling 
  20. \i some
  21. \i0  machines works fine, and those machines can poll mine!\
  22. \
  23. Q: 
  24. \f1\fs24 uucico
  25. \f0\fs28  is crashing when it tries to transfer files other than mail.  Mail comes through fine, but a file transfer won't.  What's wrong?\
  26. \
  27. A: What's likely the problem is that you have improperly formatted UUCP configuration files.  For example, blank lines in your 
  28. \f1\fs24 L.sys
  29. \f0\fs28  file can cause the first symptom, and malformed lines in your 
  30. \f1\fs24 USERFILE
  31. \f0\fs28  can cause the second..  The UUCP system can't handle these.\
  32. \
  33. In the case of the blank 
  34. \f1\fs24 L.sys
  35. \f0\fs28  line, if the line is entirely empty -- no spaces, no tabs, just empty -- uucico will work fine.  However, if the line contains only whitespace -- spaces and tabs -- then uucico will crash.  Remove the blank lines, or, if you like white space in your
  36. \f1\fs24  L.sys 
  37. \f0\fs28 file, replace the blank lines with otherwise-empty comment lines.\
  38. \
  39. In addition, if expected fields are missing, uucico has been known to crash.  For example, the following 
  40. \f1\fs24 L.sys
  41. \f0\fs28  entry will crash uucico:\
  42. \
  43.  
  44. \f1\fs24\li700\fc0 … \\\
  45. "" ATdt555-1212 \\\
  46. ogin:~20- -ogin:- -ogin: name \\\
  47. ssword: YouKnowWhat\
  48.  
  49. \f0\fs28\li0 \
  50. What was 
  51. \i desired
  52. \i0  in this case was to send a newline if the prompt 
  53. \b ogin:
  54. \b0  was not received.  What happened instead is that uucico was looking for the next 
  55. \i expect
  56. \i0  string in the 
  57. \i expect-send
  58. \i0  sequence, and it wasn't there.  To accomplish this, use the following instead:\
  59. \
  60.  
  61. \f1\fs24\li700 … \\\
  62. "" ATdt555-1212 \\\
  63. ogin:~20-CR-ogin:-CR-ogin: name \\\
  64. ssword: YouKnowWhat\
  65.  
  66. \f0\fs28\li0 \
  67. In the case of a malformed USERFILE, check for lines with a missing space.  The format of USERFILE is\
  68. \
  69.  
  70. \f1\fs24\li700 [user],[system] directory\
  71.  
  72. \f0\fs28\li0 \
  73. You 
  74. \i must
  75. \i0  have the space between the 
  76. \f1\fs24 user,system
  77. \f0\fs28  and the directory.  (Yes, 
  78. \f1\fs24 user
  79. \f0\fs28  and 
  80. \f1\fs24 system
  81. \f0\fs28  are both optional.  The comma between them and the space following them are not.)\
  82. \
  83. One other thing which can cause uucico to fail (silently on the remote, with a bus error locally) is if the program — which runs SetUID uucp and SetGID daemon — does not have appropriate access to the UUCP spool directory, 
  84. \f1\fs24 /usr/spool/uucp
  85. \f0\fs28 .  Ensure that the user 
  86. \b uucp
  87. \b0  can read, write, and search (“execute”) the spool directory.  Recommended permissions are 755 (read, write, execute for the user; read, execute for the group; read, execute for others).\
  88. \
  89. QA508\
  90. \
  91. Valid for 1.0 \
  92. Valid for 2.0\
  93. \
  94.  
  95.